package com.example.interview.Thread;

public class ThreadExample {
    public static void main(String[] args) {
        Thread thread = new Thread(new Runnable() {
            public void run() {
                // 线程的主体逻辑
                System.out.println("Anonymous thread running");
            }
        });
        thread.start(); // 启动线程
    }
}
